/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.system.bajlam.code.mb;

import com.system.bajlam.code.model.ModelException;
import com.system.bajlam.code.model.ModelFacturacion;
import java.io.Serializable;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

/**
 *
 * @author Eliu
 */
@Named
@SessionScoped
public class MbFacturacion implements Serializable {

    public void guardar() {
        try {
            //
            ModelFacturacion modelFacturacion = new ModelFacturacion();
            modelFacturacion.crearNuevaFactura();
            // validar camobs obligatorios
        } catch (ModelException ex) {
            //sout, message error
        }
    }

    public void cancelar() {

    }

    public void buscarProducto() {

    }

    public void buscarCliente() {

    }

}
